import { toReact, Component } from './toReact'
class Square extends Component{
    render(){
        return <div onClick={()=>{console.log(111)}}>111</div>
    }
}
class MyComponent extends Component{
   
    render(){
        return <div style={{color:"red"}} onClick={()=>{
            console.log(444)
        }}>
                <div className="my">11111</div>
                <div>2222</div>
                {this.props.children}
        </div>
    }
}
toReact.render(<MyComponent id='mys' job="9879"><div>1111</div></MyComponent>,  document.getElementById('root'))